#ifndef TOOLS_CONFIGINI_H
#define TOOLS_CONFIGINI_H

#include "Config.h"

namespace Tool
{
class ExportAPI ConfigIni : public Config
{
public:
    ConfigIni();
    virtual ~ConfigIni();
    virtual void Load(const std::string &path = "./config/config.ini");
    virtual void Save(const std::string &path = "./config/config.ini");

private:
    Variant ParseVariant(const std::string &str);
    std::string ToString(const Variant &var);
    std::string Trim(const std::string& str);
};

}
#endif // CONFIGINI_H
